package com.xiaoxu.intranetweb.mybatisplusSzappdb.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.entity.CAshGateVideoBind;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.entity.TCpyContract;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.mapper.CAshGateVideoBindMapper;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.mapper.TCpyContractMapper;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.service.ICAshGateVideoBindService;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.service.TCpyContractService;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.vo.TCpyContractVo;
import com.xiaoxu.intranetweb.mybatisplusSzappdb.vo.TCpyFileVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 包括 料位 等 服务实现类
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@Service
@DS("szappdb")
public class TCpyContractServiceImpl extends ServiceImpl<TCpyContractMapper, TCpyContract> implements TCpyContractService {

    @Override
    public List<TCpyContractVo> cpyContractVoList(String cpyId, String startTime, String endTime,String contractName, String plantId) {
        return baseMapper.cpyContractVoList(cpyId, startTime, endTime, contractName, plantId);
    }

    @Override
    public List<TCpyFileVo> cpyFileList(String cpyContractId) {
        return baseMapper.cpyFileList(cpyContractId);
    }
}
